package com.fighYo.trace.service;

import com.fighYo.trace.entity.Payment;
import com.fighYo.trace.entity.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fighYo.trace.entity.vo.ProductVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fighYo
 * @since 2022-04-04
 */
public interface ProductService extends IService<Product> {

    boolean addQuantity(Payment payment);

    ProductVo getProductVo(Product product);

}
